package com.github.wxiaoqi.security.biz.modules.merchant.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * 
 * @author admin
 * @email ${email}
 * @date 2019-03-08 15:28:33
 */
@Table(name = "app_user_token")
public class AppUserToken implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //用户名
    @Id
    private String userName;
	
	    //标记
    @Column(name = "token")
    private String token;
	
	    //时间戳
    @Column(name = "expired")
    private String expired;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getExpired() {
		return expired;
	}

	public void setExpired(String expired) {
		this.expired = expired;
	}

	@Override
	public String toString() {
		return "AppUserToken [userName=" + userName + ", token=" + token + ", expired=" + expired + "]";
	}
	
}
